package com.refactordemo.entity;

/*
 * 租金类
 * */

class Rental {
    //影片对象
    private Movie _movie;
    //租用时间
    private int _dayRented;

    public Rental(Movie _movie, int _dayRented) {
        this._movie = _movie;
        this._dayRented = _dayRented;
    }

    public int getDaysRented() {
        return _dayRented;
    }

    public Movie getMovie() {
        return _movie;
    }

}
